package java_learn.java_jinjie.IO;

import java.io.File;
import java.io.FileFilter;

/**
 * @Author: 李浩然
 * @Date: 2021/1/1 8:59 下午
 */
public class FileFilterImpl implements FileFilter {
    @Override
    public boolean accept(File pathname) {
        return pathname.toString().toLowerCase().endsWith(".java");
    }
}
